export const imageerror = {
    inserted(el, pm) {
        el.src = el.src || pm.value
        el.onerror = function () {
            el.src = pm.value
        }
    },
    componentUpdated(el,pm) {
        el.src = el.src || pm.value  
    }
}

